﻿* Encoding: UTF-8.
***Study 1***

USE ALL.
COMPUTE filter_$=(AttentionCheck1 = 1).
VARIABLE LABELS filter_$ 'AttentionCheck1 = 1 (FILTER)'.
VALUE LABELS filter_$ 0 'Not Selected' 1 'Selected'.
FORMATS filter_$ (f1.0).
FILTER BY filter_$.
EXECUTE.

RECODE Q1 (1=1) (ELSE=0) INTO A1.
RECODE Q2 (3=1) (ELSE=0) INTO A2.
RECODE Q3 (1=1) (ELSE=0) INTO A3.
RECODE Q4 (5=1) (ELSE=0) INTO A4.
RECODE Q5 (4=1) (ELSE=0) INTO A5.
RECODE Q6 (1=1) (ELSE=0) INTO A6.
RECODE Q7 (4=1) (ELSE=0) INTO A7.
RECODE Q8 (4=1) (ELSE=0) INTO A8.
RECODE Q9 (5=1) (ELSE=0) INTO A9.
RECODE Q10 (1=1) (ELSE=0) INTO A10.
EXECUTE.

COMPUTE MechanismKnowledge=A1+A2+A3+A4+A5+A6+A7+A8+A9+A10.
EXECUTE.

***Belief in Global Warming

CORRELATIONS
  /VARIABLES=BGW1 BGW2
  /PRINT=TWOTAIL NOSIG
  /MISSING=PAIRWISE.

COMPUTE BGW_Total = Mean(BGW1, BGW2).
EXECUTE.

***Conditional effect

MEANS TABLES=TotalScore UnderstandingChange BY Condition
  /CELLS=MEAN COUNT STDDEV.

T-TEST GROUPS=Condition(2 3)
  /MISSING=ANALYSIS
  /VARIABLES=TotalScore UnderstandingChange
  /CRITERIA=CI(.95).

UNIANOVA TotalScore BY ConditionCollapse
  /METHOD=SSTYPE(3)
  /INTERCEPT=INCLUDE
  /EMMEANS=TABLES(OVERALL) 
  /PRINT=DESCRIPTIVE
  /CRITERIA=ALPHA(.05)
  /DESIGN=ConditionCollapse.

UNIANOVA UnderstandingChange BY ConditionCollapse
  /METHOD=SSTYPE(3)
  /INTERCEPT=INCLUDE
  /EMMEANS=TABLES(OVERALL) 
  /PRINT=DESCRIPTIVE
  /CRITERIA=ALPHA(.05)
  /DESIGN=ConditionCollapse.


*** Politcal Orientation and Understanding on Belief** 

REGRESSION
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
  /DEPENDENT BGW_Total
  /METHOD=ENTER LibCon.

UNIANOVA BGW_Total WITH UnderstandingChange LibCon
  /METHOD=SSTYPE(3)
  /INTERCEPT=INCLUDE
  /CRITERIA=ALPHA(0.05)
  /DESIGN=LibCon*UnderstandingChange UnderstandingChange LibCon.

UNIANOVA BGW_Total WITH UnderstandingChange LibCon Gender Age
  /METHOD=SSTYPE(3)
  /INTERCEPT=INCLUDE
  /CRITERIA=ALPHA(0.05)
  /DESIGN=LibCon*UnderstandingChange UnderstandingChange LibCon Gender Age.

***Correlations***

CORRELATIONS
  /VARIABLES=UnderstandingChange LibCon
  /PRINT=TWOTAIL NOSIG
  /MISSING=PAIRWISE.

CORRELATIONS
  /VARIABLES=LibCon TotalScore
  /PRINT=TWOTAIL NOSIG
  /MISSING=PAIRWISE.
